

#pragma once
#include<cmath>


class Quaternion
{
public:
  float x,y,z,w;

  float Magnitude()
  {
	  return (sqrt(x*x + y*y + z*z + w*w));
  }

  void Normalize()
  {
	  float magnitude = Magnitude();
	  x /= magnitude;
	  y /= magnitude;
	  z /= magnitude;
	  w /= magnitude;
  }

  
};